package com.sharkburner.common.dao;

import java.util.List;

import org.hibernate.Session;

public interface IGenericDao<T> {
    void save(T entity);

    void saveOrUpdate(T entity);

    void delete(T entity);

    T get(long id);

    List<T> getAll();

    Session getSession();
}
